Integrand size = 17, antiderivative size = 224 \[ \int \frac {x^3}{\sqrt {a x+b x^4}} \, dx=\frac {\sqrt {a x+b x^4}}{2 b}-\frac {a^{2/3} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt {3}\right ) \sqrt [3]{b} x\right )^2}} \operatorname {EllipticF}\left (\arccos \left (\frac {\sqrt [3]{a}+\left (1-\sqrt {3}\right ) \sqrt [3]{b} x}{\sqrt [3]{a}+\left (1+\sqrt {3}\right ) \sqrt [3]{b} x}\right ),\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{4 \sqrt [4]{3} b \sqrt {\frac {\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt {3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt {a x+b x^4}} \]
[Out]
Time = 0.16 (sec) , antiderivative size = 224, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {2049, 2036, 335, 231} \[ \int \frac {x^3}{\sqrt {a x+b x^4}} \, dx=\frac {\sqrt {a x+b x^4}}{2 b}-\frac {a^{2/3} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt {3}\right ) \sqrt [3]{b} x\right )^2}} \operatorname {EllipticF}\left (\arccos \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}{\left (1+\sqrt {3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}\right ),\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{4 \sqrt [4]{3} b \sqrt {\frac {\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt {3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt {a x+b x^4}} \]
[In]
[Out]
Rule 231
Rule 335
Rule 2036
Rule 2049
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {a x+b x^4}}{2 b}-\frac {a \int \frac {1}{\sqrt {a x+b x^4}} \, dx}{4 b} \\ & = \frac {\sqrt {a x+b x^4}}{2 b}-\frac {\left (a \sqrt {x} \sqrt {a+b x^3}\right ) \int \frac {1}{\sqrt {x} \sqrt {a+b x^3}} \, dx}{4 b \sqrt {a x+b x^4}} \\ & = \frac {\sqrt {a x+b x^4}}{2 b}-\frac {\left (a \sqrt {x} \sqrt {a+b x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a+b x^6}} \, dx,x,\sqrt {x}\right )}{2 b \sqrt {a x+b x^4}} \\ & = \frac {\sqrt {a x+b x^4}}{2 b}-\frac {a^{2/3} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt {3}\right ) \sqrt [3]{b} x\right )^2}} F\left (\cos ^{-1}\left (\frac {\sqrt [3]{a}+\left (1-\sqrt {3}\right ) \sqrt [3]{b} x}{\sqrt [3]{a}+\left (1+\sqrt {3}\right ) \sqrt [3]{b} x}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{4 \sqrt [4]{3} b \sqrt {\frac {\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt {3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt {a x+b x^4}} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 10.03 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.29 \[ \int \frac {x^3}{\sqrt {a x+b x^4}} \, dx=\frac {x \left (a+b x^3-a \sqrt {1+\frac {b x^3}{a}} \operatorname {Hypergeometric2F1}\left (\frac {1}{6},\frac {1}{2},\frac {7}{6},-\frac {b x^3}{a}\right )\right )}{2 b \sqrt {x \left (a+b x^3\right )}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 2.34 (sec) , antiderivative size = 688, normalized size of antiderivative = 3.07
method | result | size |
default | \(\frac {\sqrt {b \,x^{4}+a x}}{2 b}-\frac {a \left (\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {\frac {\left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) x}{\left (-\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}}\, {\left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}^{2} \sqrt {\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}} \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}{b \left (-\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}}\, \sqrt {\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}} \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}{b \left (-\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}}\, F\left (\sqrt {\frac {\left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) x}{\left (-\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}}, \sqrt {\frac {\left (\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}{\left (\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\right )}{2 \left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (-a \,b^{2}\right )^{\frac {1}{3}} \sqrt {b x \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right ) \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\) | \(688\) |
elliptic | \(\frac {\sqrt {b \,x^{4}+a x}}{2 b}-\frac {a \left (\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {\frac {\left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) x}{\left (-\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}}\, {\left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}^{2} \sqrt {\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}} \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}{b \left (-\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}}\, \sqrt {\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}} \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}{b \left (-\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}}\, F\left (\sqrt {\frac {\left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) x}{\left (-\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}}, \sqrt {\frac {\left (\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}{\left (\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\right )}{2 \left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (-a \,b^{2}\right )^{\frac {1}{3}} \sqrt {b x \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right ) \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\) | \(688\) |
risch | \(\frac {x \left (b \,x^{3}+a \right )}{2 b \sqrt {x \left (b \,x^{3}+a \right )}}-\frac {a \left (\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {\frac {\left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) x}{\left (-\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}}\, {\left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}^{2} \sqrt {\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}} \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}{b \left (-\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}}\, \sqrt {\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}} \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}{b \left (-\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}}\, F\left (\sqrt {\frac {\left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) x}{\left (-\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right )}}, \sqrt {\frac {\left (\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}{\left (\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\right )}{2 \left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (-a \,b^{2}\right )^{\frac {1}{3}} \sqrt {b x \left (x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}\right ) \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\) | \(696\) |
[In]
[Out]
\[ \int \frac {x^3}{\sqrt {a x+b x^4}} \, dx=\int { \frac {x^{3}}{\sqrt {b x^{4} + a x}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^3}{\sqrt {a x+b x^4}} \, dx=\int \frac {x^{3}}{\sqrt {x \left (a + b x^{3}\right )}}\, dx \]
[In]
[Out]
\[ \int \frac {x^3}{\sqrt {a x+b x^4}} \, dx=\int { \frac {x^{3}}{\sqrt {b x^{4} + a x}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^3}{\sqrt {a x+b x^4}} \, dx=\int { \frac {x^{3}}{\sqrt {b x^{4} + a x}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x^3}{\sqrt {a x+b x^4}} \, dx=\int \frac {x^3}{\sqrt {b\,x^4+a\,x}} \,d x \]
[In]
[Out]